package api

import (
	request "gitee.com/changeden/volcengine-livesaas-request-go"
)

type UpdateActivityBasicConfigRequest struct {
	ActivityId               *int64   `json:"ActivityId"`
	Name                     *string  `json:"Name"`
	LiveTime                 *int64   `json:"LiveTime"`
	IsCoverImageEnable       *int32   `json:"IsCoverImageEnable"`
	CoverImageUrl            *string  `json:"CoverImageUrl"`
	IsPcBackImageEnable      *int32   `json:"IsPcBackImageEnable"`
	PcBackImageUrl           *string  `json:"PcBackImageUrl"`
	IsMobileBackImageEnable  *int32   `json:"IsMobileBackImageEnable"`
	MobileBackImageUrl       *string  `json:"MobileBackImageUrl"`
	IsPreviewVideoEnable     *int32   `json:"IsPreviewVideoEnable"`
	PreviewVideoVid          *string  `json:"PreviewVideoVid"`
	IsPeopleCountEnable      *int32   `json:"IsPeopleCountEnable"`
	IsHeaderImageEnable      *int32   `json:"IsHeaderImageEnable"`
	HeaderImageUrl           *string  `json:"HeaderImageUrl"`
	IsWatermarkImageEnable   *int32   `json:"IsWatermarkImageEnable"`
	WatermarkImageUrl        *string  `json:"WatermarkImageUrl"`
	IsThumbUpEnable          *int32   `json:"IsThumbUpEnable"`
	ThumbUpUrl               *string  `json:"ThumbUpUrl"`
	IsShareIconEnable        *int32   `json:"IsShareIconEnable"`
	ShareIconUrl             *string  `json:"ShareIconUrl"`
	IsCommentTranslateEnable *int32   `json:"IsCommentTranslateEnable"`
	Announcement             *string  `json:"Announcement"`
	BackgroundColor          *string  `json:"BackgroundColor"`
	FontColor                *string  `json:"FontColor"`
	InteractionColor         *string  `json:"InteractionColor"`
	ColorThemeIndex          *string  `json:"ColorThemeIndex"`
	IsCountDownEnable        *int32   `json:"IsCountDownEnable"`
	IsAutoStartEnable        *int32   `json:"IsAutoStartEnable"`
	IsPCHeaderImageEnable    *int32   `json:"IsPCHeaderImageEnable"`
	PCHeaderImageUrl         *string  `json:"PCHeaderImageUrl"`
	IsPageLimitEnable        *int32   `json:"IsPageLimitEnable"`
	PageLimitType            *string  `json:"PageLimitType"`
	IsLanguageEnable         *int32   `json:"IsLanguageEnable"`
	LanguageType             *[]int32 `json:"LanguageType"`
}

func (instance *Instance) UpdateActivityBasicConfig(data *UpdateActivityBasicConfigRequest) (*NoResultResponse, error) {
	d := request.Data{
		Action: "UpdateActivityBasicConfigAPI",
	}
	bindBody(&d, *data)
	var res NoResultResponse
	err := instance.post(&d, &res)
	return &res, err
}
